package My.example.service.impl;

import My.example.dao.yandao;
import My.example.service.yanser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class yanserimple implements yanser {
    @Autowired
    @Qualifier("yan1")
    private yandao yanimpl;
    @Override
    public boolean yyy1(String name, String password) {

        return yanimpl.yyy(name,password);
    }
}
